package demo1;

/**
 * Created with IntelliJ IDEA.
 * Time: 12:26
 */
public class Test {
    public static void main(String[] args) {
            { //直接使用{}定义，普通方法块
                int x = 10 ;
                System.out.println("x1 = " +x);
            }
            int x = 100 ;
            System.out.println("x2 = " +x);

    }
}
